.content_header {
  position: relative;
  display: flex;
  align-items: center;
  /* border-radius: 5px; */
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  padding: 0px 10px;
  background-color: white;
  border-bottom: 0.5px solid #adadad;
  transition: all 1s;
}

.content {
  position: relative;
  display: flex;
  align-items: center;
  /*border-radius: 5px;
    */
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  padding: 0px 10px;
  background-color: white;
  transition: all 1s;
  caret-color: rgba(0, 0, 0, 0);
}

.content:hover {
  background-color: #d9d9d9;
  cursor: pointer;
}

.logo {
  width: 39px;
  height: 39px;
  margin-right: 10px;
  overflow: hidden;
  background-color: #d9d9d9;
  border-radius: 50%;
}

.input {
  border-radius: 17px;
}

.headImg {
  width: 35px;
  height: 35px;
  overflow: hidden;
  background-color: #f2f1f7;
  border-radius: 50%;
}

.state_center {
  margin: 0 15px;
}

.state_name {
  font-weight: 600;
  font-size: 14px;
}

.state {
  color: #07c160;
  font-size: 10px;
}

.head_right {
  position: absolute;
  right: 0;
  margin: 20px;
}

.info_area {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-left: 10px;
}

.nickname {
  color: #333;
  font-size: 16px;
}

.message1 {
  color: #666;

  font-size: 11px;
}

.dto {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  margin: 10px;
  color: #f2f1f7;
  font-size: 6px;
  text-align: center;
  background: #ff3b30;
  border-radius: 100%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.update_time {
  color: #666;
  font-size: 12px;
}

.head {
  display: flex;
  align-items: center;
  height: 60px;
  background: #fff;
}

.chat_window {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: 100px;
}

/* 聊天窗口 */
.chat_box {
  position: relative;
  width: 100%;
  padding: 50px;
  overflow: auto;
}

.message {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 5px 0;
}

.message p {
  position: relative;
  right: 0;
  max-width: 65%;
  padding: 12px;
  font-size: 0.9em;
  text-align: right;
  background: #dcf8c6;
  border-radius: 10px;
}

.message p:first-child:before {
  position: absolute;
  top: 0;
  right: -12px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #dcf8c6 0%, #dcf8c6 50%, transparent 50%, transparent 100%);
  content: '';
}

.message p span {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  opacity: 0.5;
}

.frnd_message {
  justify-content: flex-start;
}

.frnd_message p {
  text-align: left;
  background: #fff;
}

.frnd_message p:first-child:before {
  position: absolute;
  top: 0;
  left: -12px;
  width: 24px;
  height: 24px;
  background: linear-gradient(225deg, #fff 0%, #fff 50%, transparent 50%, transparent 100%);
  content: '';
}

/* 聊天窗口end */

.input_area {
  // flex: 1;
  height: 100px;
  padding: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  background-color: #f9f9f9;
  border: none;
  border-radius: 17px;
  outline: none;
  resize: none;
}

.but_area {
  align-self: flex-end;
  padding: 3px 10px 0px 0px;
}

.but {
  width: 100px;
  padding: 10px 20px;
  color: #07c160;
  background-color: #e9e9e9;
  border: none;
  border-radius: 3px;
  outline: none;
}

.but:hover {
  background-color: #d2d2d2;
}

/* 隐藏默认滚动条 */
::-webkit-scrollbar {
  display: none;
}

/* 自定义滚动条样式 */
.scrollbar {
  height: 580px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #ccc #fff;
}

.scrollbar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 10px;
}
